@pdTab: 20px;
.wea-doc-detail {
  font-family: PingFangSC-Regular !important;
  letter-spacing: -0.09px;
  height: 100%;
  .wea-rich-text .cke .cke_inner {
    border-width: 0 0 1px 0;
  }
  .wea-new-top-req-wapper {
    height: 100%;
    padding-top: 70px;
    .wea-new-top-req {
      position: absolute;
      top: 0;
      left: 0;
      &-main {
        height: 70px;
        padding-left: 65px;
        padding-top: 13px;
        .wea-new-top-req-icon {
          width: 40px;
          left: 24px;
          top: 15px;
          .icon-circle-base {
            width: 40px;
            height: 40px;
            line-height: 40px;
            font-size: 22px;
          }
        }
        .wea-new-top-req-title-text {
          font-size: 14px;
          line-height: 20px;
          height: 20px;
          color: #333;
          &>span {
            vertical-align: middle;
          }
        }
      }
      &-title {
        .ant-tabs {
          &-nav {
            .ant-tabs-tab {
              margin-top: 1px;
              &-inner {
                font-size: 12px;
                line-height: 1;
                height: auto;
                padding: 13px 8px 14px;
              }
            }
            .ant-tabs-tab-active {
              .ant-tabs-tab-inner {
                color: #67aff7;
              }
            }
          }
          &-ink-bar {
            color: #67aff7;
            height: 2px;
            bottom: 2px;
          }
        }
        &>div {
          width: auto;
          &:last-child {
            position: absolute;
            right: 0;
            background-color: #fff;
          }
        }
      }
    }
    .wea-new-top-req-content {
      background-color: #f1f1f1;
      height: 100%;
      overflow-x: hidden;
      overflow-y: auto;
    }
  }
  //  //回到顶部、回复
  //  &-affix {
  //  position: fixed;
  //  min-width: 120px;
  //  right: 40px;
  //  bottom: 20px;
  //  z-index: 100;
  //  .ant-row {
  //  cursor: pointer;
  //  color: #fff;
  //  margin-bottom: 20px;
  //  width: 100%;
  //  background-color: #0098c8;
  //  border-radius: 3px;
  //  box-shadow: 3px 3px 0px rgba(153, 153, 153, 0.349019607843137);
  //  &>div {
  //  text-align: center;
  //  line-height: 35px;
  //  white-space: nowrap;
  //  &:first-child {
  //  font-size: 20px;
  //  padding: 0 8px;
  //  border-right: 1px solid rgba(255, 255, 255, .3);
  //  }
  //  &:last-child {
  //  padding: 0 12px;
  //  }
  //  }
  //  &:hover {
  //  background-color: #00b2ea;
  //  }
  //  }
  //  }
  &-content {
    width: 100%;
    height: 100%;
    overflow: hidden;
    padding: 24px 30px 39px;
    &-text-sub {
      color: #999;
      position: absolute;
      bottom: 13px;
      right: 40px;
      &>span {
        margin-left: 10px;
      }
    }
    &-main {
      width: 100%;
      height: 100%;
    }
    &-inner {
      width: 100%;
      height: 100%;
      background-color: #fff;
      border: 1px solid #e2e2e2;
      // 文档附件下载
      &-tab-content {
        width: 100%;
        height: 100%;
        //文档打分
        &-rank {
          width: 50%;
          min-width: 400px;
          max-width: 600px;
          margin: 0 auto 30px;
          &>p:first-child {
            line-height: 4;
            text-align: center;
            margin: 15px 0;
          }
          &-star {
            line-height: 3;
            margin: 10px 0;
            &>span {
              margin-right: 10px;
            }
            i {
              font-size: 18px;
              margin-left: 8px;
              cursor: pointer;
              vertical-align: sub;
            }
            .icon-coms-Collection {
              color: #c1c1c1;
            }
            .icon-coms-Collection2 {
              color: #ffa741;
            }
          }
          textarea {
            border-radius: 0;
          }
          button {
            font-size: 12px;
            padding: 8px;
          }
          &-list {
            border: 1px solid #e4e4e4;
            min-height: 100px;
            &>div:first-child {
              height: 44px;
              line-height: 44px;
              text-align: center;
              background-color: #f4f4f5;
            }
            .ant-form-item {
              margin: 0;
              padding: 16px 0;
              border-top: 1px solid #e4e4e4;
            }
          }
        }
      }
      // 文档属性
      &-attr {
        padding: 24px 20px 0 20px;
        .ant-form-item-label {
          padding-top: 0;
          label:after {
            display: none;
          }
        }
        &-value {
          border-bottom: 1px solid #ccc;
          line-height: 22px;
          height: 22px;
          padding-left: 12px;
          overflow: hidden;
          white-space: nowrap;
          text-overflow: ellipsis;
        }
      }
      &-title {
        height: 50px;
        line-height: 50px;
        border-bottom: 1px solid #e9e9e9;
      }
      //文档日志
      .wea-tab {
        .ant-tabs {
          &:first-child {
            margin: 0 0 0 24px;
          }
          &-nav {
            .ant-tabs-tab {
              &-inner {
                padding: 12px 24px 6px;
                font-size: 12px;
              }
            }
          }
        }
        .wea-advanced-searchsAd {
          .wea-title {
            display: none;
          }
        }
      }
    }
  }
  //回复列表
  &-reply {
    //编辑
    &-rich {
      border-top: 1px solid #e2e2e2;
      background-color: #f1f1f1;
      width: 100%;
      position: absolute;
      bottom: 0;
      z-index: 99;
      &>div:first-child {
        background-color: #fff;
        border: 1px solid #e2e2e2;
        color: #aeaeae;
        line-height: 30px;
        text-align: left;
        cursor: pointer;
        i {
          margin: 0 2px 0 12px;
        }
      }
      &:hover>div:first-child {
        border-color: #57c5f7;
      }
    }
    &-rich-btm {
      padding: 5px 10px;
      text-align: right;
      background-color: #fff;
    }
    //列表
    &-list {
      margin: 0 0 50px 24px;
      &-item {
        padding-right: 24px;
        padding-bottom: 15px;
        border-bottom: 1px solid #e2e2e2;
        &-child {
          letter-spacing: -0.29px;
          position: relative;
          padding: 15px 0 15px 46px;
          border-top: 1px dashed #dcdcdc;
          &:first-child {
            border: 0;
          }
          &-title {
            color: #999;
            &>span {
              margin-right: 12px;
            }
          }
          &-img>img {
            position: absolute;
            left: 0;
            top: 18px;
          }
          &-ops {
            position: absolute;
            top: 10px;
            right: 0;
            &>span {
              display: none;
              cursor: pointer;
              margin-right: 15px;
              color: #333;
              &>i {
                font-size: 16px;
                color: #7d7d7d;
                margin-right: 7px;
                vertical-align: middle;
              }
              &>span {
                vertical-align: middle;
              }
            }
            &>span:last-child {
              cursor: inherit;
              &>i {
                cursor: pointer;
                margin-right: 2px;
              }
              &>span {
                color: #333;
                cursor: pointer;
              }
              display: inline;
            }
          }
          &:hover &-ops>span {
            display: inline;
          }
        }
        &-children {
          margin-left: 39px;
          border: 1px solid #e8e8e8;
          background-color: #f9f9f9;
          .wea-doc-detail-reply-list-item-child:hover {
            background-color: #f3f9ff;
          }
        }
      }
    }
  }
}

// 回复人列表
.wea-doc-detail-top-reply-count-wrap {
  .ant-popover-inner {
    background-color: #999;
    .ant-popover-inner-content {
      color: #fff;
    }
  }
  .ant-popover-arrow:after {
    border-bottom-color: #999;
  }
  .ant-popover-arrow {
    left: 6px;
  }
}

.wea-doc-detail-top-reply-count-wrap-right {
  .ant-popover-arrow {
    left: inherit;
    right: 4px;
  }
}

// 新建单页
.wea-doc-add {
  .wea-new-top-req-wapper {
    .wea-new-top-req-main {
      padding-top: 11px;
      .wea-new-top-req-title-text {
        height: 28px;
      }
    }
    .wea-new-top-req-title {
      &>div:last-child {
        top: -6px;
      }
      padding-left: 8px;
      .ant-tabs-nav {
        .ant-tabs-tab-inner {
          padding-top: 7px;
        }
      }
    }
  }
  .wea-doc-detail-content {
    padding: 24px;
  }
  .wea-rich-text .cke .cke_inner .cke_bottom {
    display: none;
  }
}